package com.doupi.partner.dal;

import com.doupi.partner.dal.model.AdministratorRoleHasPermission;
import java.util.List;
import org.apache.ibatis.session.RowBounds;

public interface AdministratorRoleHasPermissionMapper {
    int deleteByPrimaryKey(Long id);

    int insert(AdministratorRoleHasPermission record);

    AdministratorRoleHasPermission selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(AdministratorRoleHasPermission record);

    int countAdministratorRoleHasPermission(AdministratorRoleHasPermission administratorRoleHasPermission);

    List<AdministratorRoleHasPermission> queryAdministratorRoleHasPermissions(AdministratorRoleHasPermission administratorRoleHasPermission, RowBounds rowBounds);

    List<AdministratorRoleHasPermission> selectAdministratorRoleHasPermissionForUpdate(AdministratorRoleHasPermission administratorRoleHasPermission);

    AdministratorRoleHasPermission selectAdministratorRoleHasPermissionForUpdateByPrimaryKey(Long id);
}